package com.fahai.web.service;

import com.fahai.common.PageVo;
import com.fahai.web.vo.CallFlownoVo;
import com.fahai.web.vo.CallRecordVo;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**sd  findLawyerGroupInfo
 * Created by sky on 17/5/12.
 */
public interface CallRecordService {


    /**
     *
     * @param callFlownoVo
     * @return
     */
    public PageVo findCallFlowList(CallFlownoVo callFlownoVo, PageVo pageVo);

    /**
     *
     * @param callFlownoVo
     * @return
     */
    public PageVo findCallFlowList2(CallFlownoVo callFlownoVo, PageVo pageVo);


    /**
     * 根据前台查询条件插叙咨询记录
     * @param callRecordVo
     * @param pageVo
     * @return
     */
    public PageVo findCallRecordList(CallRecordVo callRecordVo, PageVo pageVo);

    /**
     * 分页总页数查询
     * @param callRecordVo
     * @param pageVo
     * @return
     */
    public int getCount(CallRecordVo callRecordVo, PageVo pageVo);

    public Map<String,List<Map<String,Object>>> selectChartForHours(String createTime);
}
